package com.itheima.health.service;

import com.itheima.health.pojo.Order;
import com.itheima.health.pojo.OrderSetting;
import org.apache.poi.xssf.usermodel.XSSFWorkbook;
import org.springframework.web.multipart.MultipartFile;

import java.util.List;
import java.util.Map;

/**
 * 预约Service
 */
public interface OrderService {

    List<Map> listordersetting(Integer year, Integer month);

    void updateorderstting(OrderSetting orderSetting);


    boolean savebatch(MultipartFile workbook);

    /**
     * 根据id查询订单
     * @param id
     * @return
     */
    Order findById(Integer id);

    Order add(Order order);
}
